package com.itheima.dao;

import com.itheima.pojo.CheckGroup;
import org.mybatis.spring.mapper.MapperScannerConfigurer;

import java.util.List;
import java.util.Map;

/**
 * @author Gallant
 * @create 2020-06-30 12:10
 */
public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);

    public void setCheckGroupAndCheckItem(Map map);

    public List<CheckGroup> queryPage(String queryString);

    public CheckGroup findById(Integer id);

    public List<Integer> findItemIdByGroupId(Integer id);

    public void deleteAssociation(Integer id);

    public void update(CheckGroup checkGroup);

    public void deleteCheckGroup(Integer id);

    public List<CheckGroup> findAll();

    public CheckGroup findBySetmealId(Integer id);
}
